package com.example.service.impl;

import com.example.mapper.JobTableMapper;
import com.example.pojo.JobTableEntity;
import com.example.service.JobTableService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
/**
 * @author jiangqiangqiang
 * @description: 
 * @date 2022/3/18 2:32 PM
 */
@Service
public class JobTableServiceImpl implements JobTableService{

    @Resource
    private JobTableMapper jobTableMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return jobTableMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(JobTableEntity record) {
        return jobTableMapper.insert(record);
    }

    @Override
    public int insertSelective(JobTableEntity record) {
        return jobTableMapper.insertSelective(record);
    }

    @Override
    public JobTableEntity selectByPrimaryKey(Integer id) {
        return jobTableMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(JobTableEntity record) {
        return jobTableMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(JobTableEntity record) {
        return jobTableMapper.updateByPrimaryKey(record);
    }

    @Override
    public int batchInsert(List<JobTableEntity> list) {
        return jobTableMapper.batchInsert(list);
    }

}
